package top.archiesean.service;

import org.springframework.stereotype.Service;
import top.archiesean.annotation.RpcService;
import top.archiesean.pojo.User;

/**
 * @author ArchieSean
 * @description 用户
 * @date 2024-03-06
 */
@RpcService
@Service
public class UserImpl implements IUser {

    @Override
    public User getByUserId(int userId) {
        User user = new User();
        user.setId(userId);
        user.setName("张三");
        return user;
    }
}
